package org.grayrabbit.cms.plugin.loaders;

import org.grayrabbit.cms.plugin.Plugin;
import org.grayrabbit.cms.plugin.impl.DynamicPlugin;
import org.grayrabbit.cms.plugin.loaders.classloading.DeploymentUnit;

public class DefaultPluginFactory implements PluginFactory {

	public Plugin createPlugin(DeploymentUnit deploymentUnit,
			PluginClassLoader loader) {
		return new DynamicPlugin(deploymentUnit, loader);
	}

}
